﻿namespace IntelligentDataCollection.Service
{
    public static class ServiceExtensions
    {
        public static IApplicationBuilder UseService(this IApplicationBuilder app)
        {
            var server = app.ApplicationServices.GetRequiredService<DataService>();

            return app;
        }
    }
}
